package entity;

import java.util.List;

public class FunctionTree {
	private int id;
	private String text;
	private List<FunctionTree> children;
	private int parant;
	
	
	public int getParant() {
		return parant;
	}
	public void setParant(int parant) {
		this.parant = parant;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public List<FunctionTree> getChildren() {
		return children;
	}
	public void setChildren(List<FunctionTree> children) {
		this.children = children;
	}
	public void setText(String text) {
		this.text = text;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "("+id+":"+text+children+")";
	}
	
}
